package com.choosefine.springboot.devops.demo.beetl;

import com.choosefine.springboot.devops.demo.beetlSql.user.User;
import org.springframework.stereotype.Service;

import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2017/1/4.
 */
@Service
public class  BeetleService {
    public List getAll() {
        List all=new ArrayList();
        all.add(new User(1,13,"陈伟军", new Timestamp(System.currentTimeMillis()-1)));
        all.add(new User(2,4,"汤陈谦",new Timestamp(System.currentTimeMillis()-5)));
        all.add(new User(5,9,"顾文伟",new Timestamp(System.currentTimeMillis())));
        all.add(new User(7,2,"邱鹏",new Timestamp(System.currentTimeMillis()+100)));
        return all;
    }
}
